projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d6963
)
mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE
author
Valentin Longchamp
<
[email protected]
>
Tue, 31 May 2011 02:12:51 +0000
(
02:12
+0000)
committer
U-Boot
<uboot@lilith.(none)>
Tue, 31 May 2011 17:46:14 +0000
(19:46 +0200)
This allows this configuration to be defined differently for some
boards that request it.
Signed-off-by: Valentin Longchamp <
[email protected]
>
cc: Holger Brunck <
[email protected]
>
cc: Heiko Schocher <
[email protected]
>
cc: Wolfgang Denk <
[email protected]
>
cc: Detlev Zundel <
[email protected]
>
cc: Prafulla Wadaskar <
[email protected]
>
drivers/net/mvgbe.h
patch
|
blob
|
history
diff --git
a/drivers/net/mvgbe.h
b/drivers/net/mvgbe.h
index 3de98d01bd9dc44434b669c716765c76c6f22856..d8a5429de4acfbc8a589047cff46b3f88239d579 100644
(file)
--- a/
drivers/net/mvgbe.h
+++ b/
drivers/net/mvgbe.h
@@
-84,6
+84,7
@@
MVGBE_TX_BURST_SIZE_16_64BIT)
/* Default port serial control value */
+#ifndef PORT_SERIAL_CONTROL_VALUE
#define PORT_SERIAL_CONTROL_VALUE ( \
MVGBE_FORCE_LINK_PASS | \
MVGBE_DIS_AUTO_NEG_FOR_DUPLX | \
@@
-101,6
+102,7
@@
MVGBE_CLR_EXT_LOOPBACK | \
MVGBE_SET_FULL_DUPLEX_MODE | \
MVGBE_DIS_FLOW_CTRL_TX_RX_IN_FULL_DUPLEX)
+#endif
/* Tx WRR confoguration macros */
#define PORT_MAX_TRAN_UNIT 0x24 /* MTU register (default) 9KByte */